package com.zcs.app.lucky.mock

import cn.sxw.android.base.utils.RandomNameProvider
import com.zcs.app.lucky.entity.AVATAR_LIST
import com.zcs.app.lucky.entity.LuckyPeople
import com.zcs.app.lucky.entity.TYPE_USER_NORMAL

const val USER_ADD = ""
const val USER_NORMAL = ""

object LuckyMocker {
    fun mockPeoples(): ArrayList<LuckyPeople> {
        val list = ArrayList<LuckyPeople>()
        for (i in 1..30) {
            val bean = LuckyPeople(TYPE_USER_NORMAL)
            bean.name = RandomNameProvider.getName()
            bean.avatar = AVATAR_LIST.random()
            bean.rank = i
            list.add(bean)
        }
        return list
    }
}